package com.moyangfenghun.javabase.bean.param;

import com.moyangfenghun.javabase.bean.properties.OrderItem;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

@Data
public class BasePage implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "页码,默认为1" )
    private Long pageNumber = 1L;

    @Schema(description = "页大小,默认为10" )
    private Long pageSize = 10L;

    @Schema(description = "排序字段列表" )
    private List<OrderItem> pageSorts;
}
